<!DOCTYPE html>
<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>

	<link rel="stylesheet" href="../js/jquery.mobile-1.2.0.min.css" />
	<link rel="stylesheet" href="../css/base.css"/>
	<script src="../js/jquery-1.8.2.min.js"></script>
	<script src="../js/jquery.mobile-1.2.0.min.js"></script>



<title>Insert title here</title>
</head>
<body>

<div id="add" data-role="page" class="iphonebody">
	<div data-role="header" data-position="fixed" class="iphonebar" id="insertdiv">
			<div><h1>社員の意見</h1></div>
			<a href="/SBVoice/opinion/select.action?pageStatus=<s:property value='pageStatus'/>&search=<s:property value='search'/>"  data-icon="arrow-l" data-theme="b"  data-transition="slide"  data-direction="reverse">戻る</a>
	</div>

		<ul id="list" data-role="listview">
				<s:iterator value="opinionList" id="bean" status="status">
				<li>
					<center><H5>社員の意見</H5></center>
					<div style="float:left;margin:1px 0px 1px -5px">
						<img src="/SBVoice/img/s<s:property value="status"/>.png" style="width:100px;height:30px">
					</div>
					<div style="text-align:right"><s:property value="counter"/><a href="/SBVoice/opinion/addcount.action?pageStatus=<s:property value='pageStatus'/>&opinionid=<s:property value="opinionid"/>&search=<s:property value='search'/>&readpage=ok" data-role="button" data-icon="add" data-inline="true" data-mini="true" rel="external"  style="margin-top:-2px">1</a></div>
					<div>
						<div style="margin-top:14px;word-wrap:break-word;">
							<font color="#000000;"><s:property value="contents"/></font>
						</div>
						<br>
						<div class="time" style="float:right;"><p><s:date name="createDate" format="yyyy/MM/dd HH:mm"/></p></div>
					</div>
				</li>

				<s:if test="comment != '' && comment != null">
				<li>
					<center><H5>コメント</H5></center>
					<div>
						<div >
							<center><font color="#000000;"><s:property value="comment"/></font></center>
						</div>
						<br>
						<div class="time" style="float:right;"><p><s:date name="commentDate" format="yyyy/MM/dd HH:mm"/></p></div>
					</div>
				</li>
				</s:if>
			</s:iterator>
			</ul>


</div>

</body>
</html>


